<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#0858A2;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<?php  $this->Form->cuenta($this->Access->getMy('id'));?>	
	<div class="desplegable">
		<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div align="right" style="font-weight:bold; font-size:11px; padding-bottom:8px; color:#0858A2;">
	<td><h4><?php __('Total Visitas:  '.$total)?></h4></td>
</div>
<div class="posts ver_anexos">
	<fieldset>	
		<legend><?php __('Posts Adjuntos'); ?></legend>		   
		   <table class="tabla_formulario">			   	   
		        <?php
					$i = 0;
					foreach ($anexos as $anexo):				
						if($i%4==0){
							?><tr><?php 	
						}
					?>
						<td>
						  <?php  echo $this->Html->link($this->Html->image('atras.png', array('alt'=> __('Posts - Comentarios', true), 'border' => '0')),
												'../comentarios/posts_comentarios/',array('escape' => false));?> 
							
						  <?php $archivo = $this->webroot."anexos_post/".$anexo;	?>
							<a href="<?php echo $archivo;?>" target="_blank"><img src="<?php echo $this->webroot."img/post_adjunto.png";?>" /></a>
						</td>											
			 		<?php 
			 			$i++;
			 			if($i%4==0){
							?></tr><?php 	
						}
			 		endforeach; 
			 	?>
			 	
		   </table>
		   <div align="right" style="font-weight:bold; font-size:11px; padding-bottom:8px; color:#0858A2;">
                 <td><h4><?php __('Visitas al Post:  '.$total_post)?></h4></td>
                 
           </div>
	</fieldset>
</div>